package com.canaan.business.domain.storehouse;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.canaan.common.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;

/**
 * 库存冻结对象 wms_stock_freeze
 *
 * @author ruoyi
 * @date 2023-02-08
 */
@TableName("wms_stock_freeze")
public class StockFreeze extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** no */
    private String no;

    /** 物料编号 */
    @Excel(name = "物料编号")
    private String productNo;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String productName;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String storehouseNo;

    /** 是否激活 */
    @Excel(name = "是否激活")
    private String isActivation;

    /** 条码 */
    @Excel(name = "条码")
    private String barcode;

    /** 批次 */
    @Excel(name = "批次")
    private String lotNo;

    /** datacode */
    @Excel(name = "Datacode")
    private String dataCode;

    /** 入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inStockTime;

    /** 是否删除：1是 0否 */
    private String delFlag;

    /** 排序 */
    private Integer sort;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNo(String no)
    {
        this.no = no;
    }

    public String getNo()
    {
        return no;
    }
    public void setProductNo(String productNo)
    {
        this.productNo = productNo;
    }

    public String getProductNo()
    {
        return productNo;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }

    public String getStorehouseNo() {
        return storehouseNo;
    }

    public void setStorehouseNo(String storehouseNo) {
        this.storehouseNo = storehouseNo;
    }

    public String getIsActivation() {
        return isActivation;
    }

    public void setIsActivation(String isActivation) {
        this.isActivation = isActivation;
    }

    public void setBarcode(String barcode)
    {
        this.barcode = barcode;
    }

    public String getBarcode()
    {
        return barcode;
    }
    public void setLotNo(String lotNo)
    {
        this.lotNo = lotNo;
    }

    public String getLotNo()
    {
        return lotNo;
    }
    public void setDataCode(String dataCode)
    {
        this.dataCode = dataCode;
    }

    public String getDataCode()
    {
        return dataCode;
    }
    public void setInStockTime(Date inStockTime)
    {
        this.inStockTime = inStockTime;
    }

    public Date getInStockTime()
    {
        return inStockTime;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("productNo", getProductNo())
            .append("productName", getProductName())
            .append("barcode", getBarcode())
            .append("lotNo", getLotNo())
            .append("dataCode", getDataCode())
            .append("inStockTime", getInStockTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .append("sort", getSort())
            .toString();
    }
}
